FUNCTION
have_violating_rules
function have_violating_rules(auth_descriptor: account_auth_descriptor): booleanChecks if any rules of the given auth descriptor are violated.
Throws when the rules cannot be parsed, that is, when the rules field does not contain
any of the acceptable values.
Can only be called from an operation.
Parameters
- auth_descriptor — the
account_auth_descriptorto check
See Also
- rule_expression — for an explanation of rule violation
- account_auth_descriptor.rules — for the list of acceptable values
© 2024 Chromia